﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PropertyManagement.Core;
using PropertyManagement.Core.Model;

namespace PropertyManagement {
    public static class GlobalSetting {
        private static readonly StaticProvider Provider = StaticProvider.Instance;

        public static SystemUser CurrentSystemUser { get { return Provider.CurrentLoginedUser; } set { Provider.CurrentLoginedUser = value; } }
        public static Form LoginForm { get; set; }
        public static Form MainForm { get; set; }

        public static readonly DateTime FirstDate = DateTime.Today;


        public static bool IsChangeUser { get; set; }
    }
}
